package middol.auth

import grails.compiler.GrailsCompileStatic
import middolauditlog.Auditable
import middolauditlog.Stampable
/**
* @Description:    角色信息
* @Author:         zhangjiayu@middol.com
* @CreateDate:     2020/8/13 9:12
* @Version:        1.0
*/
@GrailsCompileStatic
class Role implements Serializable, Stampable<Role>, Auditable{
    private static final long serialVersionUID = 1
    String name
    String code
    String remarks

    static constraints = {
    }

    static mapping = {
        comment "角色信息"
        remarks type: "text", comment: "备注"
        name comment: "角色名称"
        code comment: "角色编码"
    }
}
